package com.yfp.device.mapper;

import com.yfp.device.domain.MachineInventoryWarn;
import com.yfp.device.domain.MachineInventoryWarnExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MachineInventoryWarnMapper {
    long countByExample(MachineInventoryWarnExample example);

    int deleteByExample(MachineInventoryWarnExample example);

    int deleteByPrimaryKey(String warnId);

    int insert(MachineInventoryWarn record);

    int insertSelective(MachineInventoryWarn record);

    List<MachineInventoryWarn> selectByExample(MachineInventoryWarnExample example);

    MachineInventoryWarn selectByPrimaryKey(String warnId);

    int updateByExampleSelective(@Param("record") MachineInventoryWarn record, @Param("example") MachineInventoryWarnExample example);

    int updateByExample(@Param("record") MachineInventoryWarn record, @Param("example") MachineInventoryWarnExample example);

    int updateByPrimaryKeySelective(MachineInventoryWarn record);

    int updateByPrimaryKey(MachineInventoryWarn record);

    int insertBatch(List<MachineInventoryWarn> list);
}